package project.pianpian.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;
import org.springframework.stereotype.Service;
import project.pianpian.entity.Follow;

@Mapper
@Repository
@Service
public interface FollowMapper extends BaseMapper<Follow> {

    Follow getFollowById(int followedId);
    int addFollow(Follow follow);
}
